var app = getApp()
Page({



    formSubmit:function (e) {
        console.log(e.detail.formId)
        console.log(e);
        console.log(app.globalData.openID)
        wx.request({
            url:'https://mb.800151.com/phalapi/Public/applet/?service=Demo.getTempMsg',
            data:{
                fid:e.detail.formId,
                oid:app.globalData.openID
            },
            success:function (e) {
                console.log(e);
                wx.showModal({
                    title: '提示',
                    content: e.data.data,
                    showCancel: false
                });
            }
        });
    },
    formReset:function (e) {
        console.log(e);
    },











    homeClick:function (e) {
        wx.redirectTo({
            url: '/pages/index/index'
        })
    },
    refreshClick:function (e) {
        wx.redirectTo({
            url: '/pages/msg/index'
        })
    }
});